"""
日志 | 数据层
"""

from models.po import RequestLogPO
from service.base import ServiceBase


class RequestLogService(ServiceBase[RequestLogPO]):
    """ 请求日志 | 数据层 """

    po = RequestLogPO
    collection_name = "admin_request_log"
    single_field_index = [
        "id",
        # "method",
        "response_info.media_type",
        # "response_info.status_code",
        "user_id",
    ]
